Skip to content

Authority upgrades: diffs, badge/cert, fix-it snippets#1

Merged
khalidsaidi merged 12 commits intomainfrom
feat/authority-diff-badge-fixits
Jan 24, 2026
Merged

Authority upgrades: diffs, badge/cert, fix-it snippets#1
khalidsaidi merged 12 commits intomainfrom
feat/authority-diff-badge-fixits

Conversation

@khalidsaidi
Copy link
Owner

Adds run-to-run diffs, shareable badge/certificate, and copy/paste remediations. Updates docs/spec/OpenAPI and keeps AI-native surfaces stable.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2bea0a695f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +625 to +629
const domainRef = db.collection("evaluations").doc(domain);
const domainSnap = await domainRef.get();
const previousRunId = domainSnap.exists
? (domainSnap.data()?.latestRunId as string | undefined)
: undefined;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Compute diff against stale run when evaluations overlap

The previousRunId is captured once at evaluation start, before the run completes. If two evaluations for the same domain overlap, the later-finishing run will still compare against the run that was latest at start, not the run that actually completed most recently. That means diffSummary/previousSummary can be wrong for concurrent runs. Consider re-reading latestRunId (or using a transaction) right before finalizing the run to ensure the diff is based on the immediate predecessor.

Useful? React with 👍 / 👎.

@khalidsaidi khalidsaidi merged commit 4954956 into main Jan 24, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant